﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Es.Abp.IApplication.Dtos
{
    public class StudentDto : EntityDto<long>
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public string? Remarks { get; set; }

        public bool IsNameSuccess()
        {
            if (Name.Contains("6"))
            {
                return false;
            }
            return true;
        }
    }
}
